package cc.vicp.djx314.msing.service.test.impl;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import cc.vicp.djx314.msing.service.base.BaseServiceImpl;
import cc.vicp.djx314.msing.service.test.PrintService;

@Service
public class PrintServiceImpl extends BaseServiceImpl implements PrintService {
	@Override
	public String myName() {
		return "你妹";
	}

	@Override
	@Transactional(readOnly = false)
	public void createTable() {
		firstTestDao.dropTablePeople();
		firstTestDao.createTableAccount();
	}

	@Override
	@Transactional(readOnly = false)
	public void insertAccount() {
		firstTestDao.insertAccount();
		firstTestDao.insertAccount();
		firstTestDao.insertAccount();
		firstTestDao.insertAccount1();
	}
}